package plugin

import (
	"apibe/single/src/v1/plugin/task"
	"apibe/single/src/v1/plugin/tourist"
)

type Option struct {
	TouristInit bool
	TaskInit    bool
}

func Init(option ...Option) {
	for _, opt := range option {
		if opt.TouristInit {
			tourist.Init()
		}
		if opt.TaskInit {
			task.Init()
		}
	}
}
